If $S$ was orientable, $S$ would have an atlas $\mathcal T = (T_j, \varphi_j)$ where the Jacobians of all the transition functions are positive.
Denote $C_1,C_2$ the two connected components of $U \cap V$ and take $u_i \in T_i \cap C_i$ for $i \in \\{1,2\\}$. As $S$ is path connected, consider a path $f$ joining $u_1$ to $u_2$. A chain of charts of $\mathcal T$ covering $f$ would have all positive transition functions. A contradiction with the hypothesis regarding the $U,V$ atlas.