A sum of £15.4 million (€19 million) has been earmarked for improvement of Welsh roads, public transport, and walking and cycling routes.