Two men accused of hatching a terror plot, backed by Al Qaeda elements in Iran to target a passenger train on the New York-to-Toronto route, have denied allegations against them in Canadian courts.