i have installed unicode keyboard based on anmol lipi on my Mac but it does not work properly
No, the Punjabi-Gurmukhi Keyboard based on AnmolLipi program is specifically designed for Windows and may not work properly on Mac.