Investigation under way after fatal train crash