Hospices in Lancashire will receive a share of a £25m Government cash to improve facilties for dying people.