You can't motivate a group of people or a Team. You have to motivate people individually, and that motivation has to be in an environment in which that person has a goal - something they want to accomplish in their lives.
Do what's right! Do the best you can and treat others the way you want to be treated because they will ask three questions: (1) Can I trust you? (2) Are you committed? (3) Do you care about me as a person?