By Goursat's lemma (see this link), any subgroup $H$ of $(\mathbb{Q}_p/\mathbb{Z}_p)^2$ corresponds to a quintuplet $(G_1,G_2,N_1,N_2,\phi)$ where $G_1$ and $G_2$ are subgroups of $\mathbb{Q}_p/\mathbb{Z}_p$, $N_1$ is a subgroup of $G_1$, $N_2$ is a subgroup of $G_2$ and $\phi:G_1/N_1\to G_2/N_2$ is an isomorphism. Explicitely, we have that
$H=\{(x,y)\in (\mathbb{Q}_p/\mathbb{Z}_p)^2 : x\in G_1, \ y\in G_1, \ \phi(x+N_1)=y+N_2\}$.
Let's consider all possible cases.
(1) Assume that $G_1$ and $G_2$ are both finite. Since $H$ is a subgroup of $G_1\times G_2$, we obtain that $H$ is finite.
(2) If one of $G_1$ and $G_2$ is finite and the other one is $\mathbb{Q}_p/\mathbb{Z}_p$, from the fact that $G_1/N_1\cong G_2/N_2$ we obtain that $N_1=G_1$ and $N_2=G_2$, since $\mathbb{Q}_p/\mathbb{Z}_p$ has no finite quotients other than $\{0\}$. Therefore, $H=G_1\times G_2$ has the required form.
(3) We're left with the case $G_1=G_2=\mathbb{Q}_p/\mathbb{Z}_p$.
(3a) If $N_1=N_2=\mathbb{Q}_p/\mathbb{Z}_p$, then $H=(\mathbb{Q}_p/\mathbb{Z}_p)^2$.
(3b) We're left with the case $N_1$ and $N_2$ finite. Then, there are $n_1,n_2\in\mathbb{N}$ such that $N_1=p^{-n_1}\mathbb{Z}_p/\mathbb{Z}_p$ and $N_n=p^{-n_2}\mathbb{Z}_p/\mathbb{Z}_p$. Since the multiplication by $p^{n_1}$ (resp. $p^{n_2}$) yields an isomorphism between $G_1/N_1$ and $\mathbb{Q}_p/\mathbb{Z}_p$ (resp. between $G_2/N_2$ and $\mathbb{Q}_p/\mathbb{Z}_p$), one can show that the isomorphism $\phi:G_1/N_1\to G_2/N_2$ is given by the multiplication by an element $z_\phi\in\mathbb{Q}_p$ with valuation $n_1-n_2$. Then one can easily show that the map $\Phi: \mathbb{Q}_p/\mathbb{Z}_p\times N_2\to H$ defined by $(a,b)\mapsto (a,z_\phi a+b)$ is an isomorphism, with inverse $(x,y)\mapsto(x,y-z_\phi x)$.