Group/bin/bucket data in R and get count per bucket and sum of values per bucket

#1
I wish to bucket/group/bin data :

PHP:
                  C1             C2
            49488.01172    0.0512
            268221.1563    0.0128
            34775.96094    0.0128
            13046.98047    0.07241
            2121699.75     0.00453
            71155.09375    0.0181
            1369809.875    0.00453
            750                0.2048
            44943.82813    0.0362
            85585.04688    0.0362
            31090.10938    0.0362
            68550.40625    0.0181

I want to bucket it by C2 values but I wish to define the buckets e.g. <=0.005, <=.010, <=.014 etc. As you can see, the bucketing will be uneven intervals. I want the count of C1 per bucket as well as the total sum of C1 for every bucket.

I don't know where to begin as I am fairly new a user of R. Is there anyone willing to help me figure out the code or direct to me to an example that will work for my needs?