p-adic Heisenberg group and Maslov index