The order of acidic nature of NH4+,H2O,H3O+, HF and OH−is as OH−<H2O<NH4+<HF<H3O+ OH−is basic (ie, it tends to gain a proton). So, it is least acidic. H2O is a neutral species. HF is a weak acid because the bond dissociation energy of HF is very high. H3O+is most acidic because it readily loose proton.
Presence of negative charge on the atom holding the electron pair increases the basicity. While presence of positive charge on the atom holding the electron pair decreases the basicity (or increases acidity).