Thanks for joining us! Please tell us what age / model of A/Cs you have - helps to narrow down some recommendations. Take a look also at the back side of your thermostat - is everything tight and clean? And the same on the roof units with the shrouds removed. You should also reset the A/C breakers - even if they don't look like they're tripped turn them off and back on.
Once in awhile a reset of the 12-volt system helps - basically shut down the entire coach including the battery switches, wait 10 - 15 minutes and then bring things back on-line (thermostat last). It can also be somewhat diagnostic to see if the A/Cs behave the same way running off the generator. And given that you have 2 A/Cs if you don't have 50amp power service you may be experiencing an inadequate power situation. And please do amend your signature with the type of RV you have - that helps greatly.
Let us know what results - we all learn ... thanks