Shropshire is set to receive more than £26 million in funding over the next five years to enhance local bus services.