Its pretty safe to say that most kids go through this stage at this age - mine certainly did, and all his little buddies have as well. Anytime he hurt me, I would set him down quickly and say "No Hitting/No Biting - time out." in a firm voice, not yelling. He would have to sit in a chair (or wherever) for one minute. At first he didn't understand what time out meant, but at two he knows now and it is a very effective discipline tool. He would sometimes sit and cry, and other times try to get up and leave, at which point I would hold him in time out for one minute.
A friend recommended a few books to me (her son is 2 months older, so he started hitting/biting right before mine did) They are Hands Are Not For Hitting and Teeth Are Not For Biting. You can find at most book stores or on Amazon.com
There are others in the series too (We also have Tails Are Not For Pulling) They are geared for children 0-3 yo, short, and easy to follow. After his time-out, we would read whichever book was appropriate. It took time, but he learned that these were not good behaviors, and rarely hits, and hasn't bitten in a long time. He also loves the books, and sometimes brings them to me to read, and he reads along with me :)
Be consistant with your discipline choice, and make sure any other caregivers also treat these behaviors the same way so he gets the message.