The energy comes from the same place as Electric car batteries get.
From either coal, oil, solar, hydro or wind. India has abundent solar, lots of coal, lots of hydro, lots of wind, but very little oil.
The main purpose of EV’s is not to save energy. The main purpose is to reduce air pollution in densely populated cities. Americans who have never traveled to Mumbai or New Delhi have no concept of how bad the air is in those cities.
Just keep this simple statistic in mind. India as a whole country is 14 times more densely populated than United States. The big cities are just unbelievable. You can’t even walk on side walks in the evening in Mumbai. It is wall to wall people on sidewalks.
I've been to pre-1990 China, Shanghai in particular. Does that count?