Anywhere good? I presume by “2ft Moguls with flat landings” you mean a 2ft kicker without any real landing, probably rollable, am I right?
If so just ride at them and roll through a few times, you’ll soon find you can go faster and faster just doing this, once you’re comfortable with the terrain and hitting it at speed, then just try letting the brakes off a touch more, putting in the odd pedal stroke and allow the bike to take off, just try to stay balanced (as you would normally on the ground) no need to lean further forwards or back, the whole point of getting the wheels off the ground is that you’re trying to take the “smoothest” most flowing line which happens to be off the ground, the bike will know where it wants to go so don’t fight it, just “guide” it…
Main thing is stay relaxed, and take as many runs as you need, no need to put lot’s of pressure on yourself, if you get tense and anxious, start over thinking things and running through all the possible ways to crash as you approach then you probably will, just think positive, you know your line, you can see where your going, everything is set, just ride it…
Good luck…