Lionel Messi and Julian Alvarez were on target as Argentina beat Croatia to reach the World Cup final.