A charity that helps families affected by miscarriage has been given a financial boost.