By contradiction, let's suppose $G$ nonabelian. Then $G$ is centerless, because $|Z(G)|=p,q$ would require that the noncentral elements have centralizer of order $pq$, a contradiction. By counting reason, a subgroup $K$ of order $q$ is unique and hence normal. Now there are at least two arguments to conclude.
Proof #1.
Since $K$ is normal, it is the union of conjugacy classes. Then necessarily $q=1+kp$, for some positive integer $k$, namely $p\mid q-1$: contradiction. Therefore $G$ is abelian, and hence cyclic (the product of two elements of order $p$ and $q$ has order $pq$).
Proof #2. Since $G$ is centerless, the class equation reads:
$$pq=1+kp+lq \tag 1$$
where $k$ and $l$ are the (positive) number of the conjugacy classes of size $p$ and $q$, respectively. Now, there are exactly $lq$ elements of order $p$ (they are the ones in the conjugacy classes of size $q$). Since each subgroup of order $p$ contributes $p-1$ elements of order $p$, and two subgroups of order $p$ intersect trivially, then $lq=m(p-1)$ for some positive integer $m$ such that $q\mid m$ (because $q> p-1$).
Therefore, $(1)$ yields:
$$pq=1+kp+m'q(p-1) \tag 2$$
for some positive integer $m'(=m/q)$; but then $q\mid 1+kp$, namely $1+kp=nq$ for some positive integer $n$, which replaced in $(2)$ yields:
$$p=n+m'(p-1) \tag 3$$
In order for $m'$ to be a positive integer, it must be $n=1$, whence $1+kp=q$, namely $p\mid q-1$: contradiction. Therefore $G$ is abelian, and hence cyclic (the product of two elements of order $p$ and $q$ has order $pq$).
http://en.wikipedia.org/wiki/Cauchy's_theorem_(group_theory)
check proof2
– mesel Sep 13 '14 at 21:39