If they are begging just for food, then why don't you give (or buy) them some food ???
Usually beggars ask for food but take only money, and when you want to give them food they reject (that's my experience - I never give money). That's how you distinguish "fake" beggars who make money begging, or people who want to buy alcohol or drugs, from hungry people really needing help.
I was in a restaurant, a beggar came asked me for money to buy a meal. I told him I would buy him a meal - he just left. He wanted money not food.