The government has published information looking at ways communities can adapt to flood and coastal erosion risk.