rickeyleee - Some, but not all, CPAP makes/models have 12V cords available. Consult your owner's manual or contact the manufacturer. If they have such a cord, buy it and use in the a 12V socket in your RV.
The other quick option is to get a small portable inverter, plug it into a 12V socket, and plug the CPAP into the inverter.
Yes, a CPAP plus humidifier uses more power than just a plain CPAP, but if you need the humidifier then you need it. I use my humidifier, but set it on 1 or 2 instead of the 3 that was prescribed. Call it a compromise. It works for me.
My RV has 2 6V AGM batteries, no solar, no generator, and charging occurs when I drive. No problems, and I can go for 3 or 4 nights using the humidifier without running the batteries down too much. Your setup is different. Monitor it carefully until you know how much current you use. I bought a digital voltmeter, about $15, which plugs into a 12V outlet and I find it very easy to use for monitoring the level of my batteries.