A female goat is a nanny.
Hence the conversation...
Wife: What were you just doing online dear?
Husband: I was just looking for a new nanny
[meanwhile husband is mashing the delete browser history button]
Husband [under breath]: Phew! That was a bit hairy...