Two element lattice permutation numbers and their $q$-generalization