A new trial in Yorkshire has been launched to provide cheaper and simpler train trickets to passengers using modern technology.