The global shift away from dirty fossil fuels like coal is projected to result in the loss of around 400,000 jobs, mostly in India and China.