Nearly 40 million women have left the workforce in India since the turn of the millennium despite an economic boom.