Thanks!
With timers. Something like this:
Start timer on "jump just pressed". If timer timeout -> go to jump state with maximum jump force. If jump button released cancel timer add velocity.y with multiplyer of force (the longer you pressed the higher force) and add velocity.x if A/D button pressed.
You you want more detail, let me know ;)