The link Roberto provided is a good one to print and keep in your goat binder. There are ways to prevent any issues, proper precautions are always good to use, no matter which animals you deal with (for
chickens you want a respirator and gloves, same for most any animal manure handling).
If you have patches of poison ivy or oak, let the goats have access to it, these plants are natural wormers for goats, pigs,
chickens, even donkeys and horses have been seen to eat these leaves.
You can always use heat to treat any manure prior to vermicomposting or regular composting, but be aware, the worms actually are eating the bacteria and other micro organisms, not the actual food you place in their bin, so the worms are processing all microorganisms including any pathogens present.
If you are concerned, just build a fire under a metal container (even an old cook pot found at a flea market can work for this) and set it on your outdoor grill, don't forget to "stir" the contents so it is all heated fairly evenly.
Then let that manure cool before adding it to your worm bin.
Redhawk