Giving alms is prohibited. Should you encounter such people, direct them to charity institutions. Though some really need an urgent help be very careful.