There are systems in the city like other cities for bike rental. But you have to register, give your creditcard and God knows what else details in case you might have a plan to bomb something in the city.
Then it is simply much more fun to rent a bike at decent rates at the bike rental on the corner of Nyhavn and Havngade… It seems they rent hats as well so you don’t lose your beloved one under way…