The first was means in fact etwas. We often shorten etwas to was in German.
The second was can be replaced by das.
In proper German this sentence goes: Ich sehe etwas, das (oder: was) du nicht siehst.
But you can say it faster or more comfortable with the two was in a row. It's a children's game. ("I spy with my little eye.")