Sir Keir Starmer has said the UK would aim for at least 95% clean power by 2030.