It depends!
SharePoint can easily handle that amount of data and that amount of files. But there is no "magic recipie" that you just apply to SharePoint and then upload all that data. You need to think of how these documents are going to be used (read/write scenarios), you should organize them in Site Collections and sites (and with that split out databases, unless you have the required IOPS). You need to think of how these documents are accessed; browsing, searching etc.
As you can see, there are a lot of options for you to take into consideration. Start with reading the SharePoint software boundaries/limits documentation: http://technet.microsoft.com/en-us/library/cc262787.aspx. Using that information you can design one first draft of information architecture.
Once you got all the basic details sorted out, please come back with further and more specific questions.