Sounds like you'll actually want to utilize an inclinometer rather than accelerometer, no? The following page from the C2 manual covers this.
Construct 2 manual: Touch
And there's an example of the inclinometer capabilities in use in the example projects.
Just press New, then select "Template: Infinite Jumping". The inclinometer is used in the "Touch -> Gamma orientation" event.