Why is «اللَّذَيْنِ» used in «رَأَيْتُ اللَّذَيْنِ نَجَحَا»?

Relative Nouns — Ṣilah, ʿĀʾid, Forms and Syntax