This never happens. Katniss does not buy a goat for a prom in the books or films.
The idea is a fan theory suggesting she used black-market earnings to buy a goat as a prize for Peeta. However:
Stick to canon: the prom/goat scenario is invented.