Wait for the monkey to stomp or punch, then jump over the bars it sends at you and press the action button.
The pattern is predictable once you have seen it a couple of times, so the trick is patience rather than speed. Jump on the beat, then commit to the button press immediately after the last bar clears.