Welcome to C2, I'd highly recommend you to read the fabulous Manual. It's very well written and easy to follow.
And make sure to check C2's examples folder. They are great to begin with.
Things you might need are Platform Behaviour, Families and Tom's Flappy Tutorial. It might give you some ideas about basic platformer, fake-scrolling and random spawning.
My idea is that you Make a Family of different platforms and another Family of obstacles/enemies
You can then spawn Platform Family at a 'predefined' random of X and Y. Says like high enough to run through but low enough to jump/double-jump to... mostly to avoid situations that you can not win.
Then spawn Obstacles/Enemies on top of Platforms. You can either Create Enemy at a predefined random of X and Y=Platform.Y-(Platform.Height+Enemy.Height)/2. Or you can spawn them at mid-air and have them dropped onto the platform. Or some other ways.
You can make special platforms that boost/slow speed or reverse gravity,etc. I dont know :)