There's a fenced area just outside the barn. Click on the gate and a menu opens with the options for water and hay.
Keep both topped up — a hungry or thirsty horse won't perform the way you want in competition.