Bus services across Lancashire are set for further improvements after the county was awarded £27 million in funding.