It is best to follow the guidelines set by local people in how they treat beggars in their community e.g. in many places it is considered acceptable to give to the elderly and disabled as there is no social security or other way these people can earn money.