You can do something like this:
Conditions:
Player is on floor
Button Pressed A
Simulate Platform Jump
Then for the double jump you do similar but
If player is NOT on floor
A button Pressed
Set Player Vector Y -500...
You can also check my tutorials for more features as well, you can find a link in my signature.