Ramsgate and Dover will receive up to £150,000 to draw up plans to reinvent their high streets and the town centres.