Is it just two? If there are others, I would open the tap and release some pressure if I were you.
You could probably turn them upside down, open the tap and release pressure without losing too much beer. But if it's pushing foam it may be 6 of one, half a dozen of the other as far as what you lose.
If any of it was bottled, I'd look at protecting those, too. Or popping them open to release pressure and recapping. Anything is better than exploding glass, except maybe exploding kegs.