You need to produce feed at the feed mill for that. Different animals eat different types of feed.

Once you produce some feed, do the following:
1. Tap the farm to enter it.
2. Drag a sack of animal feed from the bottom panel to any hungry animal on the farm. You can feed several hungry animals at once by dragging the feed across all of them at the same time.