Study on deuteron formation mechanism in nucleon-induced reactions