Youngsters in Barnsley under the age of 18 will be able to travel on buses for free, in a move aimed at improving access to education and employment opportunities.