The rail company TransPennine Express has offered customers an option to change their travel plans as snow and ice cover parts of Yorkshire.