NO more grain.
Hay, water.
Drench each goat with baking soda or make a paste and put it on the back of their tongues, 1 teaspoon for smaller does and 2 teaspoons for full -sized breeds. repeat in 4 hours if bloating gets worse.
could make a baking soda/yogurt drench.
Could also drench with mineral oil if goat is really having a hard time.
Other wise it just takes time for them to recover. probably 2 or 3 days.
If a goat goes down and wont get up, make her walk around, exercise is good for them, but don't run them around and stress them out.