The government is to make major changes to the way it subsidises renewable energy with more emphasis on offshore wind power, the BBC has learned.