Display unit with an integrated optical input device