Ministers are ramping up preparations in case Britain is hit by extreme flooding like the deadly floods in Spain.