The British government says it is committed to eco-energy and has signed up to the latest EU generation target for 2020.