It's best to go biking with more athletic and large dogs who are able to stick close and keep up with you as you go along. Energetic dogs and certain breeds, like the border collie, can definitely benefit from it.
Small dogs may not be able to stay at a steady pace since they have little legs. Flat-faced, or brachycephalic, dogs may have trouble breathing through this type of exercise, so you may want to leave them at home.