I suggest you go to this website: http://orgo.curvedarrow.com/punbb/viewforum.php?id=2
There are several acid-base examples posted there, though not with your example.
Let me digress on curved arrows. Curved arrows always start with a pair of electrons. In the examples, you will see a simple modification of pushing electrons. The traditional curved arrows are ambiguous if the curved arrow starts with a pair of electrons shared by two atoms. This ambiguity is avoided by using a “pre-bond” or dashed line to indicate which atoms will be joined. When used with a curved arrow, it shows which electrons move to make or break bonds and makes pushing electrons consistent and unequivocal in meaning.
I believe you should be able to examine your example and if you follow the examples with pre-bonds, you can see that a new bond forms between the nitrogen and oxygen. Since the nitrogen becomes positively charged and you do not see the non-bonded electrons in the product, it is the electrons on the nitrogen that form the N-H bond. Similarly, the H-O bond becomes cleaved and those electrons end up on the oxygen atom.
If you need help contact me at www.curvedarrowpress.com.
The examples on the forum are either from "A Guide to Organic Chemistry Mechanisms©" http://www.curvedarrowpress.com or written in the same manner. Chapter 2 has many examples of pushing electrons for acid-base reactions, drawing curved arrows, and predicting their equilibrium. Also, you will see the problems are written at three levels so you would be able to master this topic at the easiest level and then progress to a more advanced level.