Digital ticketing trials are to be extended across Leeds and Yorkshire ahead of the creation of Great British Railways.