If you train the dog properly for normal life, a transition to a bike should just be an extension of an existing skill. However, if you are like the majority of UK dog owners you'll expect the dog to do what you want, when you want with no effort from yourself.
I took a well disciplined dog (who was afraid of bikes) and trained him to run with bikes. It was made all the more easier that I could trust his recall anyway. I liked to use an extender lead in a rucsack to start with - trained him to run at the side of me where there was room but with enough give in the lead for mistakes.
Work with the dog and get it properly trained, then move to the bike. Your reward will be a dog that is well behaved all the time.