Bus and train passengers are set to face fines for using their phones on loudspeaker.