A man has been banned from begging or appearing homeless anywhere in the Bradford district.