Lancashire bus services are set to be improved countywide after receiving a slice of a £1bn investment from the government.