A two year old is neither a baby nor a pre-schooler, and it's always hard to know when to baby them and when to treat them as though they are growing up. Dummies and bottles have dental implications in the long run, so their use probably should not be encouraged in the toddler. Constant use of a dummy can also interfere with the development of speech. A child using a bottle all the time for comfort can also consume sufficient calories in their drink to fill them up and turn them off eating, thus running the risk of not getting sufficient nutrients from food. Most children will get bored of them, of their own accord, once this regime has been started.
Security blankets are another thing entirely.
I can see no reason at all why security blankets should be got rid of until the child wants to get rid of them. Eventually, fear of peer ridicule will do, relatively painlessly, what could have been done traumatically by the parent much earlier on. I know someone who held onto their security blanket for some time after starting school, but as a private, at-home thing, much like continuing to take a teddy bear to bed for many years. Toddlers always want to copy what adults are doing. At best this can be irritating, at worst, dangerous.