one possibility: bring in a third goat, odd numbers work better.
second possibility: take them out on walks on leads so that they get excercise but cannot fight, then have them penned separately. Also feed them separately and watch.
My two goatlings were really quite bad bullies (together I have to add - they worked as a team, not on their own) for a while, but now that the younger kids are out too and the whole herd is 7 in total they settle down quite quickly. Still the odd skirmish, but that is to be expected.
How old are they, and are they related/from the same herd previously?