An attempt to break a railway speed record by Avanti West Coast will pass through Staffordshire and the West Midlands.