She's going into the terrible twos - she's going to start testing you on every single issue, if she hasn't already. Your only hope is to stay strong, Mommy! Do NOT be drawn into an argument with a 2 year old! It's a slippery slope!
My advice is that you stick to your usual routine for bedtime (bath, story, whatever). (I don't know what her bedtime is, but you might want to even make it a little earlier, before she gets TOO tired and cranky.) When it's time for bed, put her in bed. If she cries a little, let her. If she climbs out of bed, quickly put her back in bed (interact as little as possible while doing this). Point is, do not let her "win" by letting her out of her room, into your bed, stay up with the grown-ups, etc. It's bedtime and she needs to be in bed, period.
If she hasn't started doing this already, she will probably think of new and creative ways to postpone bedtime - thirsty, hungry, wants to give Daddy one more hug, wants another story, etc. Don't be fooled - your darling child knows exactly what she's doing here! Just be firm about your routine and within a week or two she will stop fighting bedtime so much because she will realize that it is not negotiable, and that what you say, goes.
I know that sounds kind of harsh, but really it's not. Kids actually do love to have a set of rules to follow, and in my humble opinion, bedtime is the one thing that will set a young child up for success. They have no hope of having a good day if they didn't get a good night's sleep. Stay the course, and good luck!