By is a preposition and all prepositions are followed by a gerund, not a present participle. Your sentence is unnecessarily long. You could simply say: I go to school by bike.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.