I am on a low carb diet, not keto. I do it because it is best for my health, not for gains in cycling. (although I am doing fine there too)
I don't see the low carb/keto as ideal for someone who's body normal tolerates high carb diet. If you can suck down carbs and not have health issues, that is what you should be doing.
Routinely do long rides, not a fast rider, but faster than 15mph on a Metric.
I do better on day on/day off schedule, try to do one long hard ride weekends, with a medium effort and a recovery ride during the week. I try to replace 50% of calories after a ride with low glycemic index foods, lots of protein, good amounts of Omega rich fats.
You do have to be more careful not to overtrain, make sure you get extra rest so that your body repairs yourself.
Honestly, riding is not really a good choice for weightloss, not that the OP was saying they were doing it for weight loss but it is implied, it is better for overall cardio and fitness.