From modest beginnings, India has now built one of the world’s largest renewable energy markets, with solar leading the way.