The Karnataka government and SunEdison have signed an agreement to develop 5 gigawatts of renewable energy within 5 years.