This is a play on words. The terms "billy" and "nanny" refer to male or female goats and "kidded" plays on the fact that baby goats are called kids. The implication seems to be that Tom and his parents are goats.
' ' My parents are called Billy and Nanny , ' ' Tom kidded .