Goat cheese made from pasteurized milk is considered safe during pregnancy per FDA guidelines. Goat cheese made from unpasteurized (raw) milk should be avoided — it carries the same Listeria risk as any unpasteurized soft cheese.
The safety depends entirely on pasteurization status, not on the fact that it's goat milk. Check the label.