Animals need food to start producing. Tap on the animal farm and then on the magnifying glass to get food. Follow the yellow arrow, it will lead you to the feed farm. Tap on the feed farm and drag the desired feed to a free slot.
Once the feed production is over, you can collect the prepared feed. Then tap on the animal farm and drag the prepared food to an empty place.