Sorry to hear your goats have been ill. Have you no idea what they ate that made them so ill? If any of my goats are sick, I always make sure they have plenty of hay and water of course, as being ill makes them dehydrated, so drinking is important. I gradually introduce their normal coarse mix back, but not too much to begin with. Goats are terrible when they are ill, and often seem to give up.....its a question of tempting them to eat, and I have found that some greens, carrots, apples, slices of bread, are usually accepted. In summer, I have found that willow branches often tempt a sick goat to eat again, and they will even strip the bark and eat that. Bicarbonate of soda disolved in some warm water is gratefully accepted by a sick goat too.
I am always pleased when I see them chewing their cud again, as it shows they are feeling better.