This paper presents a framework utilising digital twins for predictive maintenance planning of fuel cells in electric vehicles, focusing on real-time condition monitoring and Remaining Useful Lifetime (RUL) prediction. By integrating advanced algorithms, it optimises maintenance schedules to reduce downtime and extend fuel cell lifetime. Despite relying on simulated data, the findings highlight the potential of digital twins to improve fuel cell reliability, and sustainability, illustrating their transformative impact on smart urban transportation systems.