Properly decouple Arduino in and output with opto coupler from engine noise

I think the 1µF is marginal for really fast spikes, but it might be OK since this a motorcycle.

If this were a vehicle I would vehemently disagree with you on this point. However for a Motorcycle, I don't have any experience.