Some £800mn sat in dormant bank accounts and pensions will be used to boost local communities and those struggling with the cost of living.