Severe floods in Vietnam have killed at least 41 people, with thousands evacuated and major transport routes crippled.