One note, India is HUGE. Asking about "food in India" is like asking about "food in Europe" - Scotland is incredibly different from Italy, from Sweden, from Portugal.
Secondly note that India and Indians have incredibly higher standards about food than Western countries...
Indians and India assume that what we eat in the West is bizarre, shocking.
The fact that in the West we eat frozen meat is seen as some sort of desperation measure.
The fact that in the West we eat non-frozen meat that has sat around for days or longer in a supermarket fridge is seen as sickening, putrid. Only the freshest imaginable meat is considered worth eating in India.
Bread, obviously, is to India what surfing is to Hawaii or gravity it to a neutron star - bread in the West is impossibly bad.
The unbelievable amount of additives, chemicals, and artificial ingredients which are part of the Western world is seen as astonishing, incomprehensible.
For vegetables and so on, the concept of "Fresh" in the West is just sad, to any Indian from richest to poorest.
For world-travelled sophisticated Indians: As you know in the West we nowadays have a "fad" for localvore-ism, whole food -ism, clean food -ism. Which is an admirable micro-step in the right direction. Indians smile at this in the same way that NASA would smile at Tonga's space program.
On the ground, Indians don't really care for restaurants: because home cooking is just so incredibly, universally good. It's interesting that in the West, "foodie" culture is about restaurants! famous chefs! etc. In India a restaurant is more of an emergency measure if there's something wrong at home.
Regarding the first paragraph, I can only address Mumbai. Where I lived for years.
Having spent a lifetime gluttonizing myself at all the world's "famous" whatever restaurants, of the top 10 most amazing, most wonderful, things I have ever had, fully four (if not more) were street food in Mumbai.
Regarding cleanliness etc, maybe I was just incredibly lucky what "streets" I was on but I have never seen or eaten anything other than utterly spotless, fastidious, amazingly healthy street food in Mumbai. It's just that good.
(Comparing the impeccably, fanatically, prepared hyper-fresh, ultra-crafted, street food of India to the bizarre food-like products and conditions that you find in Western fast food outlets, would be ridiculous.)
Bon appetit.