You can claim the direct costs of fostering these animals as a charitable donation (cash).
Direct costs would include the cost of food, medications, supplies, bathing/grooming, bedding and the like.
You cannot claim any indirect costs, such as utilities, unless they are costs of a dedicated kennel facility used solely for fostering the animals.