My apologies in advance if I repeat any of this information has previously been posted. I would note that virtually all the information you would likely need is on the tdf.org website. (The Theatre Development Fund runs TKTS).
TKTS at the Marquis opens at 11 am only on Sunday. They open at 10 am to sell matinee tickets on Wed and Sat, and at 3 pm to sell tickets for the evening shows. Hours are different for Southstreet Seaport.
At the Marquis, you can only get tickets the day of the show. On matinee days, you can only purchase evening tickets starting at 3 pm (sales from 10 am-2 pm are for matinee tickets that day only).
At Southstreet Seaport, you can get tickets for matinees the day before. You can get tickets for evening performances only the day of (however, since Southstreet Seaport opens at 11 am, you can get them earlier).
Tickets sell at discounts of 50%, 35% or 25%, depending on the show (this is determined by the producers). On top of that, you pay a $3 service fee for each ticket.
Ticket availability obviously varies, and can vary throughout the day as producers release new blocks of tickets. If you want to get an idea of what's typically available, the tdf.org website has a list of the Broadway and off-Broadway shows that were sold during the prior week. Of course, this is no guarantee that there will be tickets available for the same shows the day you go, but it gives you a general idea. It's common sense, but typically it will be easier to get tickets during the week than for weekend performances. You can also get an idea by checking out weekly grosses, which are posted on this website as well as on playbill.com. You should note that there are a handful of shows for which you typically will not be able to get discounted tickets. (For example, don't expect any discounted tix for Wicked or Jersey Boys.)
I believe somebody wrote about student rush tickets and lotteries and such -- they are absolutely correct that you can generally get cheaper tickets that way than through TKTS, but of course the availability will likely be more limited, so TKTS is a good option. You can also look for discount codes on playbill.com or on other websites, which will often give you pretty good discounts (though often not as good as on tkts). But it saves you standing in line.
Good luck!
"This is wanting something, this is reaching for it,
This is wishing that a moment would arrive.
This is taking chances, this is almost touching, what the beauty is." --The Light in the Piazza