How do you ride a bike with no hands?
You have to be going pretty fast. Clench your knees around the bar between the handlebars and the seat and slowly lift your hands. It takes practice, so you'll have to do it more than once to get the hang of it.
A lot of balance.
balance yourself on the bike with one hand then keep balanced but let go
A lot of practice and balance.