Chatham, Dover and Ramsgate are among seven areas in the South East to benefit from a £39 million boost, the government has confirmed.