Hindi is not spoken by the majority of India since it's only spoken by about 50% of the population. Rest have their own languages mainly Bengali, Punjabi et cetera
It's spoken by 40% natively so a minority, and India doesn't have a national language, "Hindi is the national language" is the most triggering sentence in India just so you know lol