I do intense exercise at least 120 mins / day including running, HIIT, calisthenics but no heavy weights. No cycling here unfortunately as the roads are terrible, drivers are nuts, just not safe, but I used to ride centuries when living elsewhere so have some idea of how demanding that can be. I used to take gels and nuuns in bottle etc. Not sure how you'd go with hitting carbs before a ride but you can always try and then do a ketone urine test after the ride to see if you're still in ketosis. Maybe it works.
The main issue I encountered along the way where resolved by:
1) Supplementing basic electrolytes (sugar free).
This helped with cramps and pains that I got once starting out.
2) Getting the right number of calories per day (how much I burn in the day +/- 150 calories).
I check in on this with data from fitness band connected to a nutrition app. A deficit over 150 calories and I definitely have noticeable side effects, mood, focus etc. But for me it's not as severe once in ketosis as it is on regular diet.
3) Ensuring the right macros
I was shocked how much fat I had to eat at first. I'd always thought keto was closer to a high protein diet. Getting quality fats was key. Tallow, Ghee, MCT oil, avocado, olives etc. For snack sometimes I take a tablespoon of feta marinated in olive oil and herbs.
My goal in switching was about freeing myself from sugar addiction. But the side benefit is I now exercise less (120 mins down from 160 mins). Yet in these last ~3 months I went from 90kg (198lbs) to 85kg (187lbs), the lightest and most energetic I've been for over a decade.
It's been great for me so far, but recognize it's not for everyone.