A woman has been banned from keeping dogs for five years after abandoning her two French bulldogs without food or water in an empty house.