Rail passengers are being advised to plan ahead as buses will replace trains over the next two weekends as part of the Midland Main Line electrification project.