This is a perfectly normal procedure there so don't be offended. They meant no harm. You, of course, can pick and choose what you would like to answer or whether to ignore them all together. No matter where you go in this country you will be swarmed by begging children asking for pens, money, or candy. I wanted to pass this information along before you stock up on sweets for these little street urchins.
Dental care is very scarce in developing countries.
This problem of travelers' candy causing cavities has become so bad that a service providing free dental care from volunteer dentists in well-touristed areas has begun. So, please don't give candy to children while traveling in India. This meant we tried to do too much in too short a time and became incredibly frustrated, angry, and eventually, miserable. This also meant our interactions with Indians were never relaxed, never enjoyable. We missed out on so much because of our negative feelings.